﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace _24.WPF资源字典 {
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window {
        public MainWindow() {
            InitializeComponent();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e) {
            //代码引入外部资源字典有点问题，以后再说
            //ResourceDictionary rd = new ResourceDictionary();
            //rd.Source = new Uri("Resource:component/ResourceDictionary1.xaml", UriKind.Relative);
            //this.button3.Background = (Brush)rd["TileBrush1"];
        }
    }
}
